<form id="transfer-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择人员')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-card_dealer_id" data-rule="required" data-source="card/dealer/index" class="form-control selectpage" name="row[card_dealer_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('划拨数量')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-transfer_num" data-rule="required;range(1~)" min="1" step="1" class="form-control" name="row[transfer_num]" type="number" value="1">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('激活有效期')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lifespan" data-rule="required" class="form-control datetimerange" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[lifespan]" type="text">
        </div>
    </div>
    <input type="hidden" value="{$row.id}" name="row[id]">
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
